package com.designpatterns.adapterpattern;

public class TestAdaptorPattern {
    public static void main(String[] args) {
        Duck duck = new ChickenToDuckAdaptor(new Chicken1());
        Duck duck1 = new Duck1();
        duck.quack();
        duck1.quack();
        duck.fly();
        duck1.fly();
    }
}
